package io.renren.dao;

import io.renren.entity.CollectionEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-11-07 14:05:39
 */
@Mapper
public interface CollectionDao extends BaseMapper<CollectionEntity> {
    List<CollectionEntity> myCollectionList(@Param("userid") Integer userid);

    CollectionEntity getCollection(@Param("userid")Integer userid,@Param("doctorid")Integer doctorid);
}
